import request from '@/utils/request'

// 查询蓝桥杯老师报名信息列表
export function listLanQiaoTeacher(query) {
  return request({
    url: '/buis/lanQiaoTeacher/list',
    method: 'get',
    params: query
  })
}

// 查询蓝桥杯老师报名信息详细
export function getLanQiaoTeacher(id) {
  return request({
    url: '/buis/lanQiaoTeacher/' + id,
    method: 'get'
  })
}

// 新增蓝桥杯老师报名信息
export function addLanQiaoTeacher(data) {
  return request({
    url: '/buis/lanQiaoTeacher',
    method: 'post',
    data: data
  })
}

// 修改蓝桥杯老师报名信息
export function updateLanQiaoTeacher(data) {
  return request({
    url: '/buis/lanQiaoTeacher',
    method: 'put',
    data: data
  })
}

// 删除蓝桥杯老师报名信息
export function delLanQiaoTeacher(id) {
  return request({
    url: '/buis/lanQiaoTeacher/' + id,
    method: 'delete'
  })
}
